home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / rbbs_pc / rbbsdocs.zip / RBBSDOCS.11 < prev    next >
Text File  |  1990-11-05  |  6KB  |  114 lines

  1.  
  2.  
  3.  
  4.     MODEM SWITCH SETTING AND CONSIDERATIONS                                11-1
  5.  
  6.  
  7.     11. MODEM SWITCH SETTING AND CONSIDERATIONS
  8.     -------------------------------------------
  9.     Recognizing that  there are many "Hayes-compatible" (and not so compatible)
  10.     modems  in use, this section is intended  to assist those adventurous souls
  11.     who wish to properly configure a modem for use with RBBS-PC.  By explaining
  12.     what RBBS-PC expects  from a modem,  we hope you  can determine how to  set
  13.     your modem to provide what RBBS-PC expects.
  14.  
  15.     There are three levels of modem configurations:
  16.  
  17.       1) Hardware switches.  These are physical switches  that can be turned on
  18.          or off to control modem functions.  RBBS-PC tries NOT to rely on these
  19.          switches, since other software you use may require different settings.
  20.          Many modems have  software overrides for  these switches, and  RBBS-PC
  21.          will use them when possible.  If your modem has hardware switches, you
  22.          will want to concentrate on  them first.  Find out what  functions are
  23.          selected by switches that CANNOT be overridden by firmware or software
  24.          commands.
  25.  
  26.       2) Firmware switches.   These are software commands that you can issue to
  27.          the modem, and then tell the  modem to "remember" these settings, even
  28.          after the modem is  powered off.  RBBS-PC tries  NOT to rely on  these
  29.          switches, for the same  reason it avoids hardware switches.   However,
  30.          there are  usually  switch settings  that  must be  set  for use  with
  31.          RBBS-PC.
  32.  
  33.       3) Software  commands.  These are "temporary" commands sent to the modem,
  34.          that  will be erased when the modem  is turned off.  RBBS-PC does most
  35.          of  the  configuration  via  software  commands,  to  allow  the  most
  36.          flexibility in modem operation.
  37.  
  38.     RBBS-PC  requires a  modem to  provide certain  functions to  ensure proper
  39.     operation.   By studying these requirements,  you should be able  to find a
  40.     combination  of hardware,  firmware and  software  settings to  satisfy all
  41.     these needs:
  42.  
  43.        - Modem  result codes.    Most modems  offer  both verbose  and  numeric
  44.          results to modem commands.  RBBS-PC expects VERBOSE codes, as in:
  45.  
  46.               RING                When the phone is ringing
  47.               CONNECT             When carrier is established
  48.               CONNECT 2400 MNP    When a reliable 2400 bps call is established.
  49.  
  50.        - Carrier Detection.  RBBS-PC  expects the modem to raise and  lower the
  51.          CARRIER  DETECT signal (RS-232 pin 8) to properly reflect the presence
  52.          of a caller.
  53.  
  54.        - Data Terminal Ready.  RBBS-PC expects the modem to properly respond to
  55.          DTR.   When RBBS-PC turns DTR  off, any call should  be terminated and
  56.          the modem should reset.
  57.  
  58.        - Ring counter.   RBBS-PC expects the modem to count the number of times
  59.          the phone  rings, and  provide this count  when a "count  modem rings"
  60.          command is sent.
  61.  
  62.     CONFIG parameter 225 allows the SysOp to set modem commands use by RBBS-PC.
  63.     The commands that you can set are:
  64.  
  65.  
  66.  
  67.     RBBS-PC 17.3A            TECHNICAL REFERENCE MANUAL                    11-2
  68.  
  69.  
  70.       1) RESET THE  MODEM.  This command  is sent when RBBS-PC  wants the modem
  71.          returned to its initial configuration (including any changes saved  in
  72.          firmware).  Normally, the command used is: ATZ
  73.  
  74.       2) INITIALIZE  THE MODEM.  This  is the SOFTWARE  initialization, used by
  75.          RBBS-PC each time it recycles.   Any commands needed to put your modem
  76.          into  "RBBS-PC mode"  should go  here.   For  generic Hayes-compatible
  77.          modems, the command would be: ATE0M0Q0V1X1S0=254S2=255S10=20
  78.  
  79.          The sub-command S0=254 is important to this string.  RBBS-PC uses this
  80.          to control how it answers the phone.  Use:
  81.  
  82.               S0=001  to answer on 0 rings
  83.               S0=254  to answer on 1 or more rings, no ring-back
  84.               S0=255  to answer on 1 or more rings, with ring-back
  85.  
  86.       3) COUNT  RINGS.   RBBS-PC uses this  command to  ask the  modem how many
  87.          times the phone has  rung.  For Hayes-compatible modems,  this command
  88.          should be: ATS1?
  89.  
  90.       4) ANSWER PHONE.   RBBS-PC uses this command to tell  the modem to answer
  91.          the phone.  This is normally: ATA
  92.  
  93.       5) TAKE PHONE  OFF HOOK.   RBBS-PC uses this  command to "busy  the line"
  94.          when recycling,  or when the SysOp drops to DOS when the node is idle.
  95.          This is normally: ATH1M0
  96.  
  97.       6) CLEAR FIRMWARE.  This command is used to reset the modem's firmware to
  98.          "factory  defaults."   CONFIG uses it  before programming  the modem's
  99.          firmware.  Normally, this is: AT&F
  100.  
  101.       7) INITIALIZE FIRMWARE.  This command sets any firmware settings that are
  102.          needed to  satisfy RBBS-PC's modem  requirements.   The settings  will
  103.          vary greatly from modem to modem.
  104.  
  105.       8) WRITE MODEM'S FIRMWARE.  This command  is used to make the settings in
  106.          command 7 permanent.  Usually, this is: AT&W
  107.  
  108.     Appendix  D   contains  configuration  for  several  modem  brands.    This
  109.     information may serve  as a guide to configuring  your modem.  If  you make
  110.     any  discoveries  about the  interaction  between your  modem  and RBBS-PC,
  111.     please share them with the RBBS-PC  authors, so that the information can be
  112.     given to others.
  113.  
  114.